package com.wzdigit.wms.basic.domain.asn;

import com.baomidou.mybatisplus.annotation.*;
import com.wzdigit.framework.orm.model.BasicDomain;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * <p>
 * 收货通知单货品清单
 * </p>
 *
 * @author
 * @since 2021-01-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("WMS_ASN_DTL_GOODS")
@KeySequence(value = "WMS_ASN_DTL_GOODS_SEQ", clazz = Integer.class)
public class AsnDtlGoods extends BasicDomain {

    private static final long serialVersionUID = 1L;

    /**
     * 收货通知单货品清单ID
     */
    @TableId(value = "ASN_DTL_GOODS_ID", type = IdType.INPUT)
    @ApiModelProperty(value = "收货通知单货品清单")
    private Integer asnDtlGoodsId;

    /**
     * 收货通知单明细ID
     */
    @TableField("ASN_DTL_ID")
    @ApiModelProperty(value = "收货通知单明细ID")
    private Integer asnDtlId;

    /**
     * 货品SN
     */
    @TableField("GOODS_SN")
    @ApiModelProperty(value = "货品SN")
    private String goodsSn;

    /**
     * 货品ID
     */
    @TableField("GOODS_ID")
    @ApiModelProperty(value = "货品ID")
    private Integer goodsId;

    /**
     * 品质状态
     */
    @TableField("QA_STATUS")
    @ApiModelProperty(value = "品质状态")
    private Integer qaStatus;

    /**
     * 数量
     */
    @TableField("QTY")
    @ApiModelProperty(value = "数量")
    private BigDecimal qty;

    /**
     * 备注
     */
    @TableField("COMMENTS")
    @ApiModelProperty(value = "备注")
    private String comments;

    /**
     * 状态
     */
    @TableField("STATUS")
    @ApiModelProperty(value = "状态")
    private Integer status;

//    /**
//     * 创建人
//     */
//    @TableField("CREATE_USER")
//    private String createUser;
//
//    /**
//     * 创建时间
//     */
//    @TableField("CREATE_TIME")
//    private LocalDateTime createTime;
//
//    /**
//     * 修改人
//     */
//    @TableField("MODIFY_USER")
//    private String modifyUser;
//
//    /**
//     * 修改时间
//     */
//    @TableField("MODIFY_TIME")
//    private LocalDateTime modifyTime;


}
